<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<div id="app">
    <span>{{msg}}</span>
    <input v-model="msg">
</div>
</body>
<script src="./js/vue.js" type="text/javascript"></script>
<script type="text/javascript">
    var vm= new Vue({
        el:"#app",
        data:{
            msg:"HELLO WORD"
        },
        beforeCreate:function () {
            console.log("---beforeCreate---")
        },
        created:function () {
            console.log("---created---")
        },
        beforeMount:function () {
            console.log("---beforeMount---")
        },
        mounted:function () {
            console.log("---mounted---")
        },
        beforeUpdate:function () {
            console.log("---beforeUpdate---")
        },
        updated:function () {
            console.log("---updated---")
        }
    })
</script>

</html>